<template>
  <div>
    <h1>App.vue</h1>
    {{isShow}}
    <div>name:{{name}}</div>
    <div><button @click="isShow = !isShow">开关</button></div>
  </div>
  <hr>
  <VModel v-model="isShow" v-model:textVal.isBtn="name"></VModel>
</template>

<script setup lang=ts>
import VModel from "@/components/custome/command/v-model.vue";
import {ref} from "vue";

const isShow = ref<boolean>(true);
const name = ref<string>("熏悟空")
</script>

<style scoped>
</style>
